package drg_group.suzhou_2023.MDC;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;

import drg_group.suzhou_2023.Base;
import drg_group.suzhou_2023.MedicalRecord;
import drg_group.suzhou_2023.ADRG.*;

public class MDCJ{
    public static String group(MedicalRecord record){
        String[] mdc_zd={"B36.300x002","D17.101","D18.006","L21.900","L81.600","L27.101","S20.803","B37.202","L81.700x002","L24.800x001","R22.402","S50.800x041","L92.100","L29.100","Q82.800x004","T00.900x006","A18.400x022","L73.200","T00.901","D22.600","D36.700x009","L67.106","L90.100","L90.500x030","M79.806","L74.100","L90.500x033","C44.504","C43.500","L89.305","L28.003","S20.800x002","N60.202","L94.100","S70.900x001","L02.205","L03.004","S80.800x031","D22.501","L03.302","Z41.100x017","S40.000x003","L24.801","T00.900x003","L93.201","A18.400x021","L41.801","S60.800x043","B35.801","E14.600x026","L57.803","E51.100","L08.902","D48.500x006","E11.600x024","L57.802","L90.500x043","B00.102","L28.000","L13.901","E10.600x027+L99.8*","S40.800x042","L24.205","L70.002","L98.800","S20.201","C43.603","L50.500","Z42.201","L24.700","M79.811","L30.301","D48.517","Q82.900","C44.605","S40.800x032","B37.204","L08.802","T09.000x041","Q83.803","L94.900","C50.300","L51.900","Z41.100x015","M34.200","D22.700","N62.x01","L23.504","L93.000","S30.003","S80.800x032","L30.803","L58.100","N60.201","Q84.400","L12.300","L89.107","C50.500","M79.807","L03.303","S70.800x011","L29.802","C44.604","Z41.100x011","L03.002","L01.000x013","L73.900","L02.902","S30.001","B09.x00x002","Q84.502","L24.504","L90.500x061","L30.905","L94.600","T09.000x051","L41.100","L90.805","S30.100","C50.001","T11.000x021","D23.500","B07.x03","Z41.100x012","S80.700","S70.800x022","Q82.300","L60.900","L08.907","L89.005","L03.108","L40.103","D03.700x001","L90.500x020","N60.100","Q82.502","L08.002","B41.800x002","L68.900","L90.500x015","C50.900x005","L55.200","L90.502","L08.100","L89.100","D03.900","L81.400x001","T00.100x001","C44.508","D48.515","L90.500x072","I89.800x026","Q84.602","L68.000","L70.004","B37.201","L25.000","L60.400","S30.002","L29.801","E16.300x003+L54.8*","L90.500x037","B35.003","C44.506","L23.600","L57.800x006","D23.401","C44.704","S90.200","S30.800x002","D23.503","C79.204","Z42.403","L28.201","L24.800x002","T01.301","C44.603","Q82.807","Q83.100x002","T85.401","L23.502","C50.800x005","D04.600x001","L30.804","L44.900","B35.400","L90.500x063","D03.900x002","S60.800x032","D48.601","L08.000x007","R21.x01","L12.100","L40.801","T11.101","L60.800x013","L24.203","S30.900x002","D22.508","L94.301","L50.202","L98.000","D03.500","L89.008","I89.800x024","L71.100","Q80.200x002","D05.900","L81.405","S30.900x003","B35.600","L93.202","Q84.100","C44.702","L01.000x011","S70.800x041","L90.803","S90.800x031","L60.800x019","L84.x00x001","D48.504","L05.901","D17.100x001","Q84.600x002","Q82.806","L30.202","L41.900","D17.300x001","D04.700x001","D22.506","L60.800x005","R22.200x002","L53.101","L90.500x018","L20.900","C43.507","L03.101","L60.800x033","S70.700x001","L98.900x002","S40.000x002","T14.002","D48.502","D03.600","L72.103","D48.500x002","L40.102","L26.x00","L70.003","L24.000","Q85.900x009","Q80.000","E14.600x027+L99.8*","L01.001","L30.300","E10.600x021","Z42.200x002","A18.408","M54.002","N60.200","Q84.501","L02.900x001","C43.901","N61.x02","L90.500x064","S30.801","L08.900x028","L94.400","S50.700","L29.300","Q82.507","L29.800","L02.206","C46.000","Q81.900","L40.400","L65.200","L29.000","D04.800","D24.x00","L89.200","L90.500x028","L72.000x011","L30.500x003","L12.900","B00.101","L40.002","L02.202","L68.200","L28.001","L70.802","L57.800x004","L53.300","L27.800","N62.x00x007","L70.300","L72.101","I89.800x015","D18.000x849","R92.x00","D18.000x018","L24.601","C43.703","Q82.800x001","Q82.802","Q82.508","L98.803","S50.101","Q81.100","L10.800","E50.800x002+L86*","L57.801","L88.x00","L98.800x023","B46.300x001+L99.8*","L92.200","L23.101","L03.003","L08.000x008","N64.100","S80.800x042","D22.509","L60.201","C43.604","L02.403","L60.800x012","S90.800x033","L08.900","L10.801","S60.800x033","L55.900","L82.x01","D23.501","L03.104","L85.900","L90.500x053","L90.500x039","L92.800","S70.800x012","L22.x01","L98.804","C50.200","L01.000x012","L90.500x062","C44.706","Q84.200","L67.104","S31.002","L28.000x006","L30.900","L40.800","A18.401","D23.600x001","L43.000","L66.900","L68.800","Q82.000","L73.800x007","L58.900","L27.900","T14.000x031","D22.900x002","L90.500x065","S90.800x011","S40.701","L43.100","L24.500","L60.802","L10.500","L81.000","L81.803","L60.800x032","R22.400x002","N60.000x002","L70.005","L60.800x009","L60.800x029","L70.203","B36.901","L72.900x003","L26.x01","R22.202","L40.301","B86.x00","A18.409","L63.100","L03.102","E14.600x025","M79.401","E05.906","L53.800","L08.001","B35.100","S50.800x021","C43.501","Z42.203","D18.000x010","L08.000x010","E50.801+L86*","L52.x00","L03.300","L90.500x019","L11.000","L89.208","Q18.902","L03.001","L81.407","L03.306","L72.904","L85.800","L92.302","Q83.000","S20.200","D04.504","E11.600x023","A18.400x001","M31.000x005","B86.x00x005","L90.500x044","D22.602","L27.000x006","L43.301","S30.100x001","S70.901","B40.302+L99.8*","L60.800x030","N60.000x001","L72.903","L24.800","L40.101","L74.000","L90.900x001","L29.900","C79.200x005","L91.900","D86.300","S21.000","L03.304","L98.800x001","L89.001","L90.500x041","L89.108","A18.411","N64.501","S30.800x004","L03.000x015","L03.103","D48.503","D48.511","L23.400","N62.x00x004","L73.800x006","D48.506","L89.304","L98.502","C50.100","L60.800x034","L87.900","D22.503","L02.900x006","L89.205","N60.101","L59.900","L64.000","L90.505","L98.600","L08.000x006","L98.200","B35.200","L63.000","L24.300","T85.400","S30.000x001","Q82.505","C79.800x831","L60.301","L25.900","L75.900","N60.100x003","L64.801","T00.900x004","D48.500x009","N62.x02","M79.400","C43.700x001","D23.500x006","L90.500x054","E14.600x028","N63.x01","L56.100","L90.500x066","L03.305","C79.200x006","S60.201","E10.600x970","L73.804","L12.202","L90.500x047","L53.901","L01.003","S80.800x022","L08.901","R23.800x002","S90.800x043","L56.900","L72.800x001","L13.100","L71.900","Q80.800","S90.800x012","N64.300x001","L57.900","Q84.500","R21.x00x001","L98.300","L74.001","C43.605","D17.900x001","L44.000","D03.500x002","D22.900x003","L24.100","L41.400","L60.800x026","Q82.506","L98.503","L08.910","L75.200","L02.803","L10.900","L60.800x007","L51.802","Q84.202","S30.000x004","L98.101","L40.300","L89.101","L70.201","L95.800","Q80.200","C50.400","Q81.000","R22.400x003","Z42.205","C44.600","L08.911","Q83.802","L40.802","L60.800x024","L40.200","Q84.601","L56.300","Q82.810","L60.800x015","L41.000","L23.300","L25.100","L08.909","B86.x00x006","S80.800x023","L90.500x056","B86.x00x007","L03.109","D04.503","L98.001","L01.100","A18.400x014","D23.700x001","L08.906","R22.300x002","L02.201","S30.700","C44.505","L24.901","L40.500","M34.803","L60.800x016","L83.x01","L89.207","L25.400","L51.100","L94.300","N61.x03","C44.501","D18.000x851","L80.x00","L30.500","C79.200x007","L74.900","I89.100x002","L89.002","L90.500x012","L89.104","L70.001","L23.801","T14.000x041","T09.000","D22.507","L98.701","L70.400","L59.801","R22.206","L08.003","T11.000x031","L01.005","N61.x06","N64.400","C43.900","L50.600","B00.804+L99.8*","L20.803","S80.900","L89.308","L90.500x036","M79.809","L89.900","S30.100x007","D22.702","L89.202","L70.500","L70.000","S60.800x022","D23.506","T00.300x001","L03.301","R22.700x001","A18.404","S30.800x003","T13.000x021","L03.105","L28.200","R22.100x002","L81.401","L24.204","D48.600x001","L81.403","Z41.100x016","S20.200x003","L85.000","E11.600x027+L99.8*","L05.000","L08.905","D05.100","Z42.204","C44.502","L24.400","L91.002","Z41.100x007","L57.001","Q83.100x001","S40.800x041","L68.300","L65.800x005","D22.500","E11.600x026","L70.202","S90.900x003","C43.600x002","L65.801","E14.600x023","Q83.800x005","S39.911","T13.000x011","D22.505","L89.103","B72.x00","L64.900","Q84.600x004","Z41.100x022","D48.500x007","C50.803","L72.800x003","L90.500x034","L50.900","T79.700","L90.500x049","Q84.101","L72.105","Q82.800x011","Z42.801","L65.903","T11.001","L90.500x042","L28.000x007","L67.105","L42.x00","L24.502","L03.801","R22.902","S60.801","Q82.201","L90.500x048","L12.201","B00.801+L99.8*","S80.800x021","L94.200","L11.900","L90.400","N64.504","D48.500x004","L95.900","L50.801","Z41.100x006","R22.901","D17.301","L50.201","L81.404","I89.009","D17.100x002","L25.201","L72.900x002","B09.x01","L98.800x010","L90.500x017","L90.401","Q83.801","R22.003","L95.000","L27.002","N64.200","Q82.400","N60.801","L08.800x005","S30.100x002","L95.800x004","L98.800x017","C43.602","Z42.800x002","B37.900x002","L63.800","L67.103","L13.000","L60.800x018","R21.x00x004","B00.100x004+H62.1*","L89.306","L90.500x023","N61.x00x014","B35.600x002","S90.300x002","L10.300","L70.900","L60.100","L27.003","L60.200","B43.200","I89.800x028","Q80.400","L89.301","R22.203","L98.702","S80.100x002","D03.501","C43.502","S50.701","L23.002","L02.200","R23.401","L24.201","L24.202","L30.400","I89.800x014","L40.000","L74.801","E11.603+L99.8*","L81.300","S20.801","L50.802","L93.100","L02.901","D17.200x004","Z42.402","C43.506","L60.800x022","L13.800","L90.500x016","L60.800x025","L90.500x050","L27.201","R22.200x001","L81.601","L08.800x011","L60.800x017","D28.000x001","L27.000x004","S60.100x001","L08.803","B88.001+L99.8*","A60.100x002","C43.503","C79.806","C44.705","L83.x00","T13.000","L72.800x004","S60.700","B86.x00x003","L20.806","D48.508","L73.802","D18.000x852","L72.106","L02.200x004","L02.300","S70.900x002","M79.804","S60.901","S60.800x012","Q82.503","C96.200x006","T01.800x001","L43.901","Q82.100","Z41.000","D22.900","L81.702","L02.203","L43.800","L58.101","L90.501","D48.505","S40.800x011","T14.001","L98.800x015","L23.200","L72.000x010","S90.800x041","L72.102","A18.407","L72.104","N64.001","S20.700","B37.900x003","L57.500","L89.102","L98.800x013","L85.804","M31.000","C44.701","L74.200","S90.800x021","M79.805","S40.800x022","L30.800","L81.800x003","L73.800","D48.514","R22.004","M79.801","Z41.100x014","L20.801","S30.800x001","L30.801","D17.500x011","L98.800x020","Q82.200","S60.800x023","L67.102","A36.300","M35.600","R21.x02","L03.106","L90.500x025","L60.803","L73.801","L02.100","B87.000x001+L99.8*","D23.500x003","S70.800x032","L08.903","L50.400","M34.100","I89.000x026","T00.600x001","L98.800x012","L90.500x052","A18.406","L90.902","I89.800x030","L03.107","Q82.809","L27.100","D03.601","L98.800x018","Q85.900","C50.000x001","S50.800x081","L23.000","S50.000","B88.000x006+L99.8*","L82.x00","Q84.300","L08.000x009","L85.100","T13.000x041","L66.000","L93.200x003","N60.100x002","L22.x00","Z42.100x001","D03.700x002","L21.901","S20.101","S60.902","L08.804","S70.800x021","L90.500x007","L23.500","L57.800x005","B35.500","N62.x00x001","Q84.201","L73.100","D04.501","D86.300x002","I89.000x013","Q80.300","L02.800","D23.900","L83.x02","L89.300","D22.511","B00.100x005","L57.000","B35.800x002","I97.200","B35.000x001","M79.803","L93.200","S30.101","A18.400x020","R22.300x001","Q82.805","L23.900","L13.900","L08.800x006","S40.001","E11.600x028","C44.601","L90.500x057","C50.804","C79.200x001","D03.701","L90.503","L03.802","S60.900","L93.001","L55.000","B36.000x003","C50.600","L10.800x001","N63.x00","L66.300","Z41.100x018","S90.700","B35.901","B43.000","D18.000x812","B35.100x002","E11.600x025","L12.800","L90.500x032","D18.000x828","L60.801","B00.100x001","I89.900","S90.800x013","L21.002","C44.707","A18.400x010","D03.502","C43.600","S70.100","C43.707","Q84.800x012","L68.100","S80.800x011","L23.100","Z42.302","D17.500x010","Q82.800x010","Z41.100x020","L92.903","Z42.300x001","T09.000x011","L56.200","B36.000x001","B78.100x001+L99.8*","L10.000","L65.802","L90.500x027","Z41.100x010","M79.802","L98.800x021","L89.106","L90.500x071","L57.300","L90.500x073","Q84.801","L60.800x008","L23.700","L30.901","C50.902","I89.800x029","Q83.200","T00.200x001","L90.200","L65.901","B44.800x002","D17.100x003","L13.101","D48.510","T00.900x007","S50.900","L90.500x046","L02.401","Q82.500x005","D18.000x850","B35.002","R23.400x001","T13.000x031","N61.x07","S30.104","L55.800","L89.203","L89.302","L08.000x001","L75.000","D22.901","I89.800x012","L53.200","D17.200x001","B35.300","S90.300x003","Q82.800x019","L73.800x005","Q83.300","L55.100","S20.802","T14.000","S60.800x042","B35.800x004","S20.202","D22.500x008","L84.x01","T00.900","E51.100x006","S40.800x031","Z42.800x001","L91.801","L51.000","D17.300x002","L94.500","L21.100","S70.700x002","L10.100","C43.800","L53.900","L27.200","L75.800","L67.800","D03.600x002","L95.802","S80.800x043","A18.405","D48.500x014","D18.000x816","D22.502","L08.000x005","S40.800x012","C44.503","L24.206","L89.000","B35.001","D17.300x004","D48.500x005","T00.900x002","L01.008","L30.201","D36.716","Z41.104","L60.500","D24.x01","N61.x00x004","C50.000","N64.002","L21.001","L44.300","C44.700","L56.400","S60.800x041","L72.901","L90.500x022","D17.200x003","L81.800x005","L87.200","A18.403","L89.007","Q84.600x001","B38.300","L70.100","L12.101","L90.500x021","S39.910","C44.500","L20.804","L90.500x026","Q83.800x004","L51.200","S80.000","L50.100","B37.203","L98.800x007","E10.600x024","T00.800x001","R60.900x004","Z41.100x024","L20.802","E14.600x022","L90.504","L98.800x011","R22.002","N64.503","L30.100","Z42.304","C44.900","L24.501","L81.701","Z41.100x003","L67.900","L25.800","D17.200x002","L98.800x022","L43.200","A18.410","D17.900x002","L02.900x002","R22.700x002","Q84.900","L66.800","D22.900x021","Q82.800x003","Q85.900x026","N64.801","A18.400x006","I89.800x022","N64.805","L08.908","L08.800x008","L41.000x002","L87.001","L60.800x027","L90.500x040","D48.513","C44.509","E14.600x021","L60.800x028","L90.500x055","S31.001","L60.800x004","L90.500x058","T14.000x011","B86.x00x004","S90.300x001","Z52.100","S20.000","L56.800","T81.800x009","C44.606","T14.003","R22.000x003","L08.805","L92.000","S80.101","C43.702","Q18.301","Q85.900x022","L65.000","L72.100","D03.602","L81.703","L90.500x024","L41.300","L71.000","L81.100","L03.800","L85.900x001","B36.100","L70.803","D23.601","L73.000","C43.705","M79.403","L89.307","L60.800x020","L85.300","L60.800x011","E14.600x024","L25.200","R22.000x004","R22.005","S90.800x042","Q82.808","Q80.900","L50.000","D23.400x003","L92.300","I89.000x004","D24.x02","Q82.800x006","L90.500x011","Q85.900x024","L74.400","D23.700x002","L44.400","S60.701","E10.603+L99.8*","D23.500x010","L02.903","L91.001","T00.000x001","D18.007","L63.200","Z41.100x023","S60.000x001","Z42.202","L90.500x009","D04.502","A18.412","L24.200","L60.800x010","L81.400","L60.800x031","B72.x00x001","N60.900","B36.300","E51.100x005+I98.8*","L73.803","L98.800x014","L81.800","L02.804","L66.100","B07.x04","L10.200","L81.402","I89.000x015","E10.600x026","S30.100x004","Q84.000","L08.801","Z42.400x001","L92.301","D04.500","L24.503","E10.600x028","B37.200x003","C79.205","L90.500x045","D23.602","L87.800","Q81.200","L89.003","D23.600x002","N64.200x001","D48.500x011","Z41.100x013","D22.601","C43.706","Q82.801","D23.504","S30.000x003","Z42.303","N61.x01","L21.800","L85.200","N61.x00x013","L10.400","L60.800x014","S90.800x023","S50.901","L43.902","D03.800","S60.800x021","L90.500x051","Q85.915","C50.900","L30.400x004","R22.207","R23.800x001","L23.901","L70.801","L89.206","B07.x00x006","L66.400","L02.802","L02.801","L90.901","L60.800x023","E11.600x970","L12.103+H13.3*","S60.900x002","S30.900x001","L98.500","L12.102+H13.3*","D04.701","L95.100","T14.101","L27.005","A18.400x013","L90.500x014","L72.000x007","Q80.800x001","D17.200x005","C43.606","T14.000x003","L89.004","L57.400","L98.501","L72.200","L41.500","L23.001","R58.x02","L02.402","L85.801","C79.200","B36.200","L50.200","Z42.301","T13.000x051","R23.400x003","S50.800x011","M54.001","D17.000x004","L23.503","S60.202","L89.201","N62.x00","N64.802","R22.204","L67.101","L98.401","S60.800x011","D48.509","T09.000x021","L12.000","S80.800x033","D48.500x012","D23.701","Z42.200x003","L60.000","C43.508","D22.701","Q82.803","L82.x02","S20.301","L89.006","L97.x00","S70.000","Q81.800","L90.000","S40.900","L03.900","L65.904","L89.303","D18.005","C43.900x003","L44.100","L90.500x006","B35.000","L75.100","C50.802","N64.803","L20.000","L90.801","Q82.804","L90.500x060","B45.200","C44.703","C43.601","L94.800","L40.100","L01.004","L65.902","L30.902","S80.800x012","L98.800x016","S70.800x042","L57.100","Q85.900x049","L81.200","N60.300","L24.900","L27.004","L56.000","L72.905","S90.301","L30.903","L72.902","L98.801","L90.500x074","N64.502","C43.701","T11.000","L28.100","R22.000x005","B37.900x001","C43.704","L95.900x001","L74.300","D04.601","L90.500x059","L75.201","L24.600","L25.300","L00.x00","L91.800","E85.413+L99.0*","S80.800x013","S70.800x031","E10.600x025","Z41.100x021","C43.505","L30.204","S90.100","E14.600x970","B07.x00x011","L27.801","L66.200","L11.100","S80.901","L53.100","D05.700","D03.504","N60.000","S90.800x032","L44.800","D48.501","D48.516","L30.904","S20.300x001","D03.503","L70.200","L72.900x001","L98.700x001","N61.x04","D18.000x847","L81.900","L01.002","Z41.100x005","L08.904","A46.x00","L81.801","L56.401","B08.800x007","T09.000x031","L60.800x021","L03.200","L73.805","Q85.900x025","T14.000x021","Q82.501","Z41.100x008","D48.500x008","L57.200","E83.201","L95.901","Q84.600x003","B40.300","L65.800x003","L70.900x002","L85.803","M79.404","L90.500x013","Q85.801","L30.203","M54.003","D48.512","S90.800x022","N64.804","Q82.504","L90.500x031","D18.008","L40.003","C44.901","S20.400x001","D18.000x848","L89.204","C44.602","L65.100","L23.501","S50.800x031","L28.002","L02.200x010","S90.901","A18.811","B07.x01","N61.x05","R22.200x004","L25.500","L50.803","L28.203","L28.202","L50.300","L53.801","R22.006","D05.000","L65.800x004","L90.500x008","B00.000","L44.200","L63.900","I89.000x017","B07.x00x010","C44.507","L30.802","L12.200","L02.200x009","L72.000x006","L92.801","D22.504","Z42.200x001","S90.000","S40.800x021","L90.800","B37.205","D23.505","L11.800","L60.300","L90.804","D17.300x005","L98.800x027","N60.400","R22.904","Z41.105","L67.000","L40.001","C50.801","L53.000","Z42.401","L03.000","E11.600x021","Q85.900x028","L90.500x010","C43.504","I89.800x025","B88.000x004+L99.8*","I89.800x027","L59.000","D22.510","C44.800","S90.900x002","L81.500","L67.100","L90.500x029","C50.901","L89.105","B00.100","Z41.100x019","I89.800x013","L21.000","S60.800x031","L90.600","L90.500x038","Z41.100x002","D22.900x017","D48.500x010","D23.502","L10.800x002","T00.900x005","A18.402","C50.800","T00.902","L30.000","R22.302","Q80.100","D48.500x003","L72.000","R23.801","T11.000x041","L71.800","L40.900","B40.301+L99.8*","N64.900","L90.500x035","L90.300","S80.800x041","Z41.100x009","L84.x00x002","M34.000","S40.000x001","L92.901","R22.205","L98.802","Q82.800x018","B35.800x003","I89.800x020","L95.801","B07.x00x008","S40.700","L81.802","E10.600x023","I89.002","L58.000","L05.900","L94.000","D48.507","L90.500x067","Q83.900","L98.400","L60.800x006","B07.x05","S70.900x003","B36.200x001","T11.000x051","L05.000x001","R22.100x001","R22.903","R21.x00x003","D04.900x001","L98.800x026","Q83.100","R60.900x003","Z41.100x004"};
        String[] dept_list={};
        if (!(true && Base.contains(mdc_zd,record.zdList[0]))){
            return "";
        }
        
        Base.groupMessages.putMessage(record.Index,"符合MDCJ入组条件，匹配规则：主诊断匹配");
        String result;

        result=JA1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JA2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JB1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JB2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JB3.group(record);
        if (result.length()>0){
            return result;
        }

        result=JC1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JD1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JD2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JJ1.group(record);
        if (result.length()>0){
            return result;
        }

        if (record.ssList!=null && record.ssList.length>0 && Base.contains(Base.SS_VALID,record.ssList[0])){
            Base.groupMessages.putMessage(record.Index,"符合JQY入组条件，存在有效手术操作："+String.join(",",Base.Intersect(record.ssList,Base.SS_VALID)));
            return "JQY";
        }

        result=JR1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JR2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JS1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JS2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JT1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JU1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JV1.group(record);
        if (result.length()>0){
            return result;
        }

        result=JV2.group(record);
        if (result.length()>0){
            return result;
        }

        result=JZ1.group(record);
        if (result.length()>0){
            return result;
        }

        Base.groupMessages.putMessage(record.Index,"不符合MDCJ的ADRG入组条件");
        return "";
    }
}

